/*
##################################################
##                                              ##
##               pinni-art.com                  ##
##         styles created by Sneak0r            ##
##                                              ##
##                  2016                        ##
##                                              ##
##################################################
*/

/* Notes

- 16px=1em -> pixel/16=em
- target / content = result -> 20.3125em/16=1.5em

- fluid system
- 880 pixels ÷ 960 pixels = 0.91666667 // 960px gesamtbreite meiner Darstellung, 880px breite vom content
- als nächstes das ganze *100 = 91.666667%, jetzt noch aufrunden = 92%

*/

/******* Styles der Seiten *******/

html{height: 100%; }
body {min-height: 100%;}

/** Rahmen **/
header, nav, section, article, footer, a  {
  border: 0px dotted purple;
  margin: 0px;
  padding: 0px;
}
/*
section {  border: 4px dotted green;
  margin: 0px;
  padding: 0px;}
article {  border: 3px dotted lightblue;
  margin: 0px;
  padding: 0px;}
*/
/** Überschriften **/
h1 {
	font-size: 1.5em;
	font-weight: bold;
	text-align: center;
}
h2 {color: #b15a15}
h5 {color: #5a8c89;}

/** Paragraph Settings **/
p {
    display: block;
    margin-top: 1em;
    margin-bottom: 1em;
    margin-left: 0;
    margin-right: 0;
}

/** Menü **/
.topnav {
  overflow: hidden;
  background-color: #333; /* Add a black background color to the top navigation */
}

.topnav a { /* Style the links inside the navigation bar */
  float: left;
  display: flex;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
  height: 3.5em;
  align-items: center;
  justify-content: center;
}

.topnav a:hover:not(.active) {background-color: #111;} /* Change the color of links on hover */

.active { /* Add an active class to highlight the current page */
  background-color: #4CAF50;
  color: white;
}

.topnav .icon {
  display: none; /* Hide the link that should open and close the topnav on small screens */
}

.topnav img {
  display: block;
  height: 3.3em;
  margin: 0em 2em;
}

@media screen and (max-width: 600px) {
  .topnav a:not(:first-child) {display: none;}
  .topnav a.icon {
    float: right;
    display: block;
  }
}

@media screen and (max-width: 600px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
}

/** Hintergrund **/
/*
html { 
  background: url(../pics/pinni-art_background.jpg) no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
*/

.bgorange  {background-color: #b15a15;}
.bgblue {background-color: #5a8c89}
.bggreen {background-color: #3c6c2e}

/** Header / Footer**/
header {margin-bottom: 2em;}

header, footer {
    padding: 1em;
    color: white;
    background-color: #2b2b29;
    text-align: center;
}

/** Social Media Buttons **/
.fa {
  padding: 20px;
  font-size: 30px;
  width: 50px;
  text-align: center;
  text-decoration: none;
  margin: 5px 2px;
}

.fa:hover {
    opacity: 0.7;
}

.fa-facebook {
  background: #3B5998;
  color: white;
}
.fa-skype {
  background: #00aff0;
  color: white;
}
.fa-youtube {
  background: #bb0000;
  color: white;
}

/** Scroll Back To Top Button **/
#myBtn {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed/sticky position */
    bottom: 1.25em; /* Place the button at the bottom of the page */
    right: 1.875em; /* Place the button 30px from the right */
    z-index: 99; /* Make sure it does not overlap */
    border: none; /* Remove borders */
    outline: none; /* Remove outline */
    background-color: red; /* Set a background color */
    color: white; /* Text color */
    cursor: pointer; /* Add a mouse pointer on hover */
    padding: 15px; /* Some padding */
    border-radius: 10px; /* Rounded corners */
    font-size: 18px; /* Increase font size */
}

#myBtn:hover {
    background-color: #555; /* Add a dark-grey background on hover */
}

/** Hintergrundbilder **/

.projektbg {
  background-color: #2b2b29;
  background-image: url("../../pics/permakultur2.jpg"); /* The image used */
  background-repeat: no-repeat;
  color: white;
  height: 100%; /* Full height */
  background-position: center; /* Center and scale the image nicely */
  background-repeat: no-repeat;
  background-size: 50%;
}

article {
	font-size: 1.5em;
	padding: 0em 0.7em;
	color: white;
}

/** Farben **/
.orange {color: #b15a15}
.lightblue {color: #96b4b6}
.blue {color: #5a8c89}
.green {color: #3c6c2e}
.grey {color: #bca57c}

/** Misc **/
.articlecenter {
	margin: auto;
	width: 70%;
}
.center {text-align: center}
.right {float: right;}
.clearfix {overflow: auto;}
.projekt {padding-left: 50%;}
.projektimg {
    border-radius: 50%;
}